package com.xuanwu.ai.flow.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "租户流程账号表")
@TableName(value = "tenant_flow_account")
public class TenantFlowAccount {

    @TableId(value = "id")
    @ApiModelProperty(value = "id")
    private Long id;

    @TableField(value = "tenant_id")
    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @TableField(value = "tenant_name")
    @ApiModelProperty(value = "租户名称")
    private String tenantName;

    @TableField(value = "flow_account")
    @ApiModelProperty(value = "租户流程账号")
    private String flowAccount;

    @TableField(value = "flow_access_key")
    @ApiModelProperty(value = "租户流程ak")
    private String flowAccessKey;

    @TableField(value = "status")
    @ApiModelProperty(value = "启用状态")
    private Integer status;

    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
